package com.yby.dome6;

public class Ostrich extends Bird {
    //重写父类鸟的fly()方法
    public void fly(){
        System.out.println("鸵鸟不会飞，会跑");
    }
}
